home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-08-14 | 666 b | 28 lines | [TEXT/MPS ] |
- {[j=15-/40]}
- {$R-}
- PROGRAM NuBusTest;
- { This program determines whether or not this machine can deal with NuBus cards
- that put their declaration ROM in the high part of the card’s 16M address
- space. Specifically, it checks to see if the machine is running ROM 78, and if
- so, whether or not the rom version is later than 1.0 (i.e. has a DeclROM) }
-
- USES
- Memtypes, Quickdraw, OSIntf, ToolIntf, PackIntf, nbTestIntf;
-
- PROCEDURE _DataInit;
- EXTERNAL;
-
- BEGIN
- UnLoadSeg(@_DataInit);
- InitGraf(@thePort);
- InitFonts;
- FlushEvents(everyEvent, 0);
- InitWindows;
- InitMenus;
- TEInit;
- InitDialogs(NIL);
- InitCursor;
-
- IF CheckNuBus THEN {Nothing} ;
- END.
-